import React from 'react'
import { Toast, NavBar } from 'react-vant'
import { useNavigate } from 'react-router-dom'
import style from './index.module.css'
const Index:React.FC = () => {
    const navigate = useNavigate()
    const ujnb=()=>{
      navigate('/home/jiang')
    }
  return (
    <div className={style.box}>
       <NavBar
                title='问诊购药'
                onClickLeft={() => navigate(-1)}
            />
         <img src="../src/assets/1000_02.jpg" alt="" style={{width:'100%'}}/>   

         <div className={style.box1}>
               <img src="../src/assets/1000_05.jpg" alt="" />
               <button className={style.btn} onClick={ujnb}>咨询其他医生</button>
         </div>
    </div>
  )
}

export default Index
